Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix HTTPS_PROXY env var #82

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

fabiaserra
Copy link
Contributor

Replace the use of lstrip with replace to remove https:// from proxy env as it was stripping extra characters as reported here https://community.ynput.io/t/shotgrid-addon-secrets-permissions-and-proxy-problems/1343/7

@fabiaserra fabiaserra changed the title Fix HTTP_PROXY env var Fix HTTPS_PROXY env var Apr 5, 2024
@jakubjezek001 jakubjezek001 merged commit 4fe8584 into ynput:develop Apr 8, 2024
@@ -108,7 +108,7 @@ def process(self, instance):
sg_local_storage["mac_path"]
)

file_partial_path = file_partial_path.lstrip("/")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this replaced by mistake?

This will replace all "/" in path but the lstrip will only remove the leading slash, which seems to be more correct to the fact that we want the partial path.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops yeah I did a search and replace and I didn't read the full thing, I only meant to change the ones for the proxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants